From 937fe120fc9769887e4f333be65a6aea0bbc5e11 Mon Sep 17 00:00:00 2001 From: oliskoli Date: Thu, 22 Feb 2007 00:25:48 +0000 Subject: [PATCH] Don't return -1 in case of a bad date. -1 isn't a valid timestamp under win32. git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@2685 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/csv_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpsbabel/csv_util.c b/gpsbabel/csv_util.c index 5eccf938c..3fe89dd1c 100644 --- a/gpsbabel/csv_util.c +++ b/gpsbabel/csv_util.c @@ -689,7 +689,7 @@ sscanftime( const char *s, const char *format, const int gmt ) return mktime(&stm); } - return -1; + return 0; } static time_t -- 2.30.2